package com.jia.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jia.dto.admin.CoordinateDto;
import com.jia.entity.Coordinate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jia.vo.admin.CoordinateVo;
import com.jia.vo.admin.SitesVo;

import java.util.List;

/**
* @author 贾天旺
* @description 针对表【t_coordinate】的数据库操作Service
* @createDate 2024-04-28 09:22:25
*/
public interface CoordinateService extends IService<Coordinate> {

    Page<CoordinateVo> COORDINATE_VO_PAGE(Integer page, Integer limit, CoordinateDto coordinateDto);

    List<String> provinceList();

    List<String> cityList(String province);

    List<String> areaList(String city);

    void updateState(int id);

    void deleteBattery(int id);

    List<SitesVo> mapList();

    void addBattrey(CoordinateDto coordinateDto);
}
